<template>
  <div class="header">
    <div class="logo">
      <img src="@/assets/IRIS.png" alt="" />
      <span>智慧课堂</span>
    </div>
    <div class="info">
      <div class="user">
        <div class="avatar">
          <el-avatar src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" />
        </div>
      </div>
      <div class="button">
        <button>退出</button>
      </div>
    </div>
  </div>
</template>
<script setup lang="ts"></script>
<style scoped lang="scss">
.header {
  width: 100%;
  height: 70px;
  border-bottom: 1px solid #dddddf;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  .logo {
    height: 100%;
    width: 200px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    img {
      height: 100%;
    }
  }
  .info {
    padding-right: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    .button {
      button {
        background: #171717;
        color: white;
        width: 60px;
        height: 30px;
        border-radius: 4px;
      }
    }
  }
}
</style>
